<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录 - 余杭智能客服系统</title>
    <!--引入bootstrap的css样式-->
    <link rel="stylesheet" href="/bootstrap/bootstrap.min.css">
    <!--引入bootstrap里面的字体图标-->
    <link rel="stylesheet" href="/bootstrap/bootstrap-icons.css">
    <!--引入自定义的login.css样式-->
    <link rel="stylesheet" href="/css/login.css">
</head>
<body>
<div class="login-container">
    <div class="login-header">
        <img src="/images/logo.png" alt="叩丁狼Logo" class="login-logo">
        <h2>余杭IT智能客服系统</h2>
        <p>欢迎回来，请登录您的账号</p>
    </div>
    <form id="loginForm" onsubmit="return handleLogin(event)">
        <div class="form-floating">
            <input type="text" class="form-control" id="username" placeholder="用户名" required value="">
            <label for="username">用户名</label>
        </div>
        <div class="form-floating">
            <input type="password" class="form-control" id="password" placeholder="密码" required value="">
            <label for="password">密码</label>
        </div>
        <div class="error-message" id="errorMessage"></div>
        <button type="submit" class="btn btn-login">
            <i class="bi bi-box-arrow-in-right"></i> 登录
        </button>
    </form>
</div>

<script src="/js/login.js"></script>
</body>
</html>
